<template>
	<view class="xiangqing-box">
		<view class="xiangqing-box-content">
			<view class="xiangqing-top">
				<view class="xiangqing-top-img">
					<image src="../../static/dImg.jpg" mode="widthFix"></image>
				</view>
				<view class="xiangqing-top-name">
					<view class="xiangqing-name biaoti1">
						张三
					</view>
					<view class="xiangqing-xuehao zhengwen1">
						学号：{{ id }}
					</view>
				</view>
			</view>
			<view class="xiangqing-number">
				<view class="shouji zhengwen1">
					手机号：13100111111
				</view>
				<view class="zhuanye zhengwen1">
					专业班级：计算机应用2班
				</view>
			</view>
			<view class="shenfenzheng zhengwen1">
				身份证号：230111111111110432
			</view>
			
			<view class="xiangqing-biaoti biaoti1">
				请假统计
			</view>
			<view class="tongji-info">
				<view class="info-top">
					<view class="nianfen zhengwen1">
						年份
					</view>
					<view class="info-top-right">
						<view class="riqi zhengwen1">
							起止日期
						</view>
						<view class="liyou zhengwen1">
							请假理由
						</view>
						<view class="info-shichang zhengwen1">
							时长
						</view>
					</view>
				</view>
				<view class="info-center zhengwen2">
					<view class="info-center-left">
						2022年
					</view>
					<view class="info-center-right">
						<view class="info-center-right-n">
							<view class="qizhi">
								6月3日至6月4日
							</view>
							<view class="info-center-right-liyou">
								外出配电脑，需要请假1天。
							</view>
							<view class="info-center-right-shichang">
								10小时
							</view>
						</view>
						<view class="info-center-right-n">
							<view class="qizhi">
								6月3日至6月4日
							</view>
							<view class="info-center-right-liyou">
								外出配电脑，需要请假1天。
							</view>
							<view class="info-center-right-shichang">
								10小时
							</view>
						</view>
						<view class="info-center-right-n">
							<view class="qizhi">
								6月3日至6月4日
							</view>
							<view class="info-center-right-liyou">
								外出配电脑，需要请假1天。
							</view>
							<view class="info-center-right-shichang">
								10小时
							</view>
						</view>
					</view>
					
				</view>
				<view class="info-bottom zhengwen2">
						合计: 30小时
				</view>
				
			</view>
			<view class="tongji-info">
				<view class="info-top">
					<view class="nianfen zhengwen1">
						年份
					</view>
					<view class="info-top-right">
						<view class="riqi zhengwen1">
							起止日期
						</view>
						<view class="liyou zhengwen1">
							请假理由
						</view>
						<view class="info-shichang zhengwen1">
							时长
						</view>
					</view>
				</view>
				<view class="info-center zhengwen2">
					<view class="info-center-left">
						2022年
					</view>
					<view class="info-center-right">
						<view class="info-center-right-n">
							<view class="qizhi">
								6月3日至6月4日
							</view>
							<view class="info-center-right-liyou">
								外出配电脑，需要请假1天。
							</view>
							<view class="info-center-right-shichang">
								10小时
							</view>
						</view>
						<view class="info-center-right-n">
							<view class="qizhi">
								6月3日至6月4日
							</view>
							<view class="info-center-right-liyou">
								外出配电脑，需要请假1天。
							</view>
							<view class="info-center-right-shichang">
								10小时
							</view>
						</view>
						<view class="info-center-right-n">
							<view class="qizhi">
								6月3日至6月4日
							</view>
							<view class="info-center-right-liyou">
								外出配电脑，需要请假1天。
							</view>
							<view class="info-center-right-shichang">
								10小时
							</view>
						</view>
					</view>
					
				</view>
				<view class="info-bottom zhengwen2">
						合计: 30小时
				</view>
				
			</view>
			<view class="tongji-info">
				<view class="info-top">
					<view class="nianfen zhengwen1">
						年份
					</view>
					<view class="info-top-right">
						<view class="riqi zhengwen1">
							起止日期
						</view>
						<view class="liyou zhengwen1">
							请假理由
						</view>
						<view class="info-shichang zhengwen1">
							时长
						</view>
					</view>
				</view>
				<view class="info-center zhengwen2">
					<view class="info-center-left">
						2022年
					</view>
					<view class="info-center-right">
						<view class="info-center-right-n">
							<view class="qizhi">
								6月3日至6月4日
							</view>
							<view class="info-center-right-liyou">
								外出配电脑，需要请假1天。
							</view>
							<view class="info-center-right-shichang">
								10小时
							</view>
						</view>
						<view class="info-center-right-n">
							<view class="qizhi">
								6月3日至6月4日
							</view>
							<view class="info-center-right-liyou">
								外出配电脑，需要请假1天。
							</view>
							<view class="info-center-right-shichang">
								10小时
							</view>
						</view>
						<view class="info-center-right-n">
							<view class="qizhi">
								6月3日至6月4日
							</view>
							<view class="info-center-right-liyou">
								外出配电脑，需要请假1天。
							</view>
							<view class="info-center-right-shichang">
								10小时
							</view>
						</view>
					</view>
					
				</view>
				<view class="info-bottom zhengwen2">
						合计: 30小时
				</view>
				
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				id:''
			}
		},
		methods: {
			
		},
		onLoad(options) {
			this.id = options.id
		}
	}
</script>

<style lang="scss">
	@import url(@/common/common.css);
	.xiangqing-box{
		width: 100%;
		box-sizing: border-box;
		overflow: hidden;
		padding-bottom: 40rpx;
		.xiangqing-box-content{
			width: 95%;
			margin: 0 auto;
			box-sizing: border-box;
			overflow: hidden;
			padding-top: 20rpx;
			.xiangqing-top{
				width: 100%;
				box-sizing: border-box;
				overflow: hidden;
				display: flex;
				flex-direction: row;
				.xiangqing-top-img{
					flex: 2;
					image{
						width: 100%;
					}
				}
				.xiangqing-top-name{
					flex: 5;
					display: flex;
					flex-direction: column;
					justify-content: center;
					// padding-left: 20rpx;
					margin-left: 20rpx;
					.xiangqing-xuehao{
						margin-top: 20rpx;
					}
				}
			}
			.xiangqing-number{
				width: 100%;
				box-sizing: border-box;
				overflow: hidden;
				display: flex;
				flex-direction: row;
				margin-top: 20rpx;
				view{
					flex: 1;
				}
			}
			.shenfenzheng{
				width: 100%;
				box-sizing: border-box;
				overflow: hidden;
				margin-top: 10rpx;
			}
			.xiangqing-biaoti{
				margin-top: 50rpx;
			}
			.tongji-info{
				width: 100%;
				box-sizing: border-box;
				overflow: hidden;
				margin-top: 20rpx;
				display: flex;
				flex-direction: column;
				.info-top{
					width: 100%;
					box-sizing: border-box;
					overflow: hidden;
					display: flex;
					flex-direction: row;
					view{
						display: flex;
						align-items: center;
						justify-content: center;
						// border: 1px solid #999999;
						// padding: 10rpx;
					}
					.nianfen{
						flex: 2;
						border: 1px solid #999999;
						border-right: none;
					}
					.info-top-right{
						flex: 8;
						// border: 1px solid #999999;
						.riqi{
							border: 1px solid #999999;
							flex: 3;
							border-right: none;
						}
						.liyou{
							border: 1px solid #999999;
							flex: 4;
							border-right: none;
						}
						.info-shichang{
							border: 1px solid #999999;
							flex: 1;
						}
					}
				}
				.info-center{
					width: 100%;
					box-sizing: border-box;
					overflow: hidden;
					display: flex;
					flex-direction: row;
					view{
						// padding: 10rpx;
						box-sizing: border-box;
					}
					.info-center-left{
						box-sizing: border-box;
						flex: 2;
						display: flex;
						justify-content: center;
						align-items: center;
						border: 1px solid #999999;
						border-right: none;
						border-top: none;
						// padding: 10rpx;
					}
					.info-center-right{
						flex: 8;
						display: flex;
						flex-direction: column;
						box-sizing: border-box;
						overflow: hidden;
						.info-center-right-n{
							width: 100%;
							display: flex;
							box-sizing: border-box;
							overflow: hidden;
							flex-direction: row;
							view{
								border: 1px solid #999999;
								box-sizing: border-box;
								padding: 10rpx 0;
								display: flex;
								align-items: center;
								
							}
							.qizhi{
								flex: 3;
								// border-right: none;
								border-top: none;
								justify-content: center;
							}
							.info-center-right-liyou{
								flex: 4;
								border-left: none;
								border-top: none;
								border-right: none;
								text-align: center;
							}
								
							.info-center-right-shichang{
								flex: 1;
								border-top: none;
								text-align: center;
							}
						}
					}
				}
				.info-bottom{
					width: 100%;
					box-sizing: border-box;
					overflow: hidden;
					display: flex;
					flex-direction: row;
					border: 1rpx solid #999999;
					border-top: none;
					align-items: center;
					justify-content: center;
					padding: 20rpx;
				}
			}
		}
	}

</style>
